package com.fpt.edu.vn.h2tv.dto;

import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;


@XmlRootElement(name ="Categorys")
public class CategoryResponse {
    private int status;
    private List<Category> categories;
    
    
    public int getStatus() {
        return status;
    }
    
    @XmlAttribute(required = false)
    public void setStatus(int status) {
        this.status = status;
    }
    public List<Category> getCategoris() {
        return categories;
    }
    
    @XmlElement(name ="category")
    public void setCategoris(List<Category> categoris) {
        this.categories = categoris;
    }
    
    
}
